home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / lan / lantqemm.zip / LANTASTI.TEC
Text File  |  1996-01-24  |  13KB  |  340 lines

  1. ID:QL Loading LANtastic 6.0's REDIR.EXE and SERVER.EXE high
  2. Quarterdeck Technical Note #285                    Filename: LANTASTI.TEC
  3. by Raymond Jackson                               CompuServe: LANTAS.TEC
  4. Last revised: 09/21/94                             Category: QEMM
  5.  
  6. Subject: Loading LANtastic 6.0's REDIR.EXE and SERVER.EXE high.
  7.  
  8.  
  9.                                OVERVIEW
  10.                                --------
  11.  
  12. After running Optimize with LANtastic version 6.0, you may have noticed
  13. that LANtastic's REDIR.EXE and SERVER.EXE were not loaded high.  You may
  14. have also received the error, "ERROR: not enough memory to load program."
  15. If these drivers failed to load high, it's possible that they failed to
  16. load at all.  This document explains why this problem occurs and offers a
  17. simple solution for resolving it.
  18.  
  19.  
  20. Q. Why did these drivers fail to load high?
  21.  
  22. A. LANtastic 6.0's REDIR.EXE and SERVER.EXE are modular drivers.
  23.    Artisoft's modular drivers are designed to load only code that's
  24.    called upon.  For example, if printing capabilities are not needed,
  25.    then the code for that function will not be loaded.  This design
  26.    prevents the driver from becoming larger than necessary, which saves
  27.    you memory.
  28.  
  29.    In order to load, modular drivers use a special function termed
  30.    DOSLOAD.  DOSLOAD is a loader program that requires a lot of High RAM
  31.    to initialize.  DOSLOAD loads itself into High RAM in order to give
  32.    REDIR.EXE and SERVER.EXE more room to initialize within conventional
  33.    memory.  After initialization, DOSLOAD terminates and will no longer
  34.    be resident.
  35.  
  36.    QEMM's LOADHI.COM excludes all of conventional memory in order to
  37.    force a driver into High RAM.  Therefore, REDIR.EXE and SERVER.EXE
  38.    might have a difficult time executing if there is not ample available
  39.    High RAM. This will result in the following error message:
  40.  
  41.    ERROR: not enough memory to load program
  42.  
  43. Q. How do I solve this problem?
  44.  
  45. A. Follow these steps:
  46.  
  47.    1. If Stealth has not already been enabled by Optimize, run OPTIMIZE
  48.       /ST now.  This will Optimize your system and check for
  49.       compatibility with Stealth.  Stealth will increase your available
  50.       High RAM, which will allow these drivers to load high more easily.
  51.       If you encounter a problem with Stealth, refer to Quarterdeck
  52.       Technical Note #205, "Troubleshooting Stealth ROM" (STEALTH.TEC)
  53.       and #168, "QEMM's Stealth ROM Technology" (STLTECH.TEC).  If you
  54.       are using QEMM version 7.0 or later, these technotes are in your
  55.       \QEMM\TECHNOTE directory.  Because there are no known problems
  56.       between QEMM's Stealth feature and LANtastic, we expect that you
  57.       will find a solution in these technotes.
  58.  
  59.    2. Remove the LOADHI region parameters (e.g., /R:2) from REDIR.EXE and
  60.  
  61.  
  62.  
  63.       SERVER.EXE.  By default, these drivers can be found in the
  64.       STARTNET.BAT file, which is located in the \LANTASTI directory.
  65.  
  66.       To edit the STARTNET.BAT file, type the following:
  67.  
  68.       CD\LANTASTI <Enter>
  69.       EDIT STARTNET.BAT <Enter>
  70.  
  71.       You should see something similar to the following:
  72.  
  73.       C:\QEMM\LOADHI /R:2 REDIR HOST @STARTNET.CFG
  74.       C:\QEMM\LOADHI /R:1 SERVER C:\LANTASTI.NET @STARTNET.CFG
  75.     
  76.       You can now remove the region parameters.  It's possible that
  77.       Optimize did not add the LOADHI parameters to these lines.  If that
  78.       is the case, add them now.  After making the appropriate changes,
  79.       you should have something similar to the following:
  80.  
  81.       C:\QEMM\LOADHI REDIR HOST @STARTNET.CFG
  82.       C:\QEMM\LOADHI SERVER C:\LANTASTI.NET @STARTNET.CFG
  83.  
  84.       NOTE: The above lines are only an example.  If you do not have the
  85.             name "HOST" on your REDIR line, do not add it.  Leave the name
  86.             as it currently is (i.e., SERVER, HOST1, etc.).
  87.      
  88.             If you see the /NO_UMB switch on the SERVER line, remove it.
  89.             That parameter is not necessary.
  90.  
  91.    3. Load STARTNET.BAT before your disk cache or any other large TSRs.
  92.       This will help to ensure that REDIR.EXE and SERVER.EXE have
  93.       sufficient room to load high.
  94.  
  95.       To edit the AUTOEXEC.BAT file, type the following:
  96.  
  97.       CD\ <Enter>
  98.       EDIT AUTOEXEC.BAT <Enter>
  99.  
  100.       For example, in the following AUTOEXEC.BAT, STARTNET.BAT is loaded
  101.       after the disk cache.
  102.  
  103.       PATH=C:\DOS;C:\QEMM;C:\LANTASTI
  104.       C:\QEMM\LOADHI /R:3 C:\DOS\SMARTDRV.EXE /X
  105.       CALL C:\LANTASTI\STARTNET.BAT
  106.  
  107.       After making the appropriate changes, you should have the
  108.       following:
  109.  
  110.       PATH=C:\DOS;C:\QEMM;C:\LANTASTI
  111.       CALL C:\LANTASTI\STARTNET.BAT
  112.       C:\QEMM\LOADHI /R:3 C:\DOS\SMARTDRV.EXE /X
  113.  
  114.       NOTE: If you are using a disk cache, you might consider
  115.       Microsoft's SMARTDrive.  Because SMARTDrive uses only 26k of High
  116.       RAM, there is a better chance of loading it high with REDIR.EXE
  117.       and SERVER.EXE.
  118.  
  119.    4. In your \QEMM directory, create an OPTIMIZE.EXC file.  In that
  120.  
  121.  
  122.  
  123.       file, add SERVER and REDIR.  That will prevent Optimize from
  124.       trying to load those drivers high, which would undo the changes
  125.       you have already made.
  126.  
  127.       To create an OPTIMIZE.EXC file, type the following:
  128.  
  129.       CD\QEMM <Enter>
  130.       EDIT OPTIMIZE.EXC <Enter>
  131.  
  132.       Now add the following lines to this file:
  133.  
  134.       REDIR
  135.       SERVER
  136.  
  137.       Save that file and reboot your machine.
  138.  
  139.    5. After rebooting, REDIR.EXE and SERVER.EXE should load high.  With
  140.       Manifest, we can verify that they did.
  141.  
  142.       To load Manifest, type the following:
  143.  
  144.       CD\QEMM <Enter>
  145.       MFT <Enter>
  146.  
  147.       To see which drivers are loading high, press "F" and then "R" to
  148.       reach the Manifest "First Meg Programs" screen.  All of the
  149.       drivers listed above the "Conventional memory ends at 640k" line
  150.       are loading into conventional memory (0000-9FFF).  All of the
  151.       drivers listed below that line are loading into High RAM
  152.       (A000-FFFF).  If REDIR and SERVER are listed below that line, they
  153.       loaded high successfully.
  154.  
  155.  
  156. Q. What if I'm using a multiple configuration?
  157.  
  158. A. The same instructions apply to multiple configurations.  You will need
  159.    to remove the LOADHI region parameters (i.e., /R:2) from REDIR.EXE and
  160.    SERVER.EXE.  However, instead of editing your STARTNET.BAT file, you
  161.    will modify the LOADHI.RF file.  LOADHI.RF can be found in your \QEMM
  162.    directory.
  163.  
  164.    Note: LOADHI.RF is the default name of the QEMM response file.  It is
  165.    possible to indicate a different response filename by using something
  166.    similar to the following: SET LOADHIDATA=C:\QEMM\MULTICON.RF.  In
  167.    this example, you would edit MULTICON.RF rather than LOADHI.RF.
  168.  
  169.    1. To edit the LOADHI.RF file, type the following:
  170.  
  171.       CD\QEMM <Enter>
  172.       EDIT LOADHI.RF <Enter>
  173.  
  174.       You should see something similar to the following:
  175.  
  176.       SERVER /R:0
  177.       REDIR /R:1
  178.  
  179.       After removing the region numbers, you should have the following:
  180.  
  181.  
  182.  
  183.  
  184.       SERVER
  185.       REDIR
  186.  
  187.       After making those changes, save that file.  Do not add the QEMM
  188.       LOADHI commands to the LOADHI.RF file.  If REDIR and SERVER are not
  189.       listed in this file, then Optimize did not add the LOADHI commands
  190.       to your STARTNET.BAT file.  In that case, add SERVER and REDIR to
  191.       the LOADHI.RF file now.  Add them just as they appear in the above
  192.       example, without the region parameters.
  193.  
  194.    2. If Optimize did not add the LOADHI command to your STARTNET.BAT
  195.       file, you should do so now.  To edit the STARTNET.BAT file, type
  196.       the following:
  197.  
  198.       CD\LANTASTI <Enter>
  199.       EDIT STARTNET.BAT <Enter>
  200.  
  201.       You should now see something similar to the following:
  202.  
  203.       REDIR HOST @STARTNET.CFG
  204.       SERVER C:\LANTASTI.NET @STARTNET.CFG
  205.  
  206.       You can now add the QEMM LOADHI commands.  After making those
  207.       changes, you should have something similar to the following:
  208.  
  209.       C:\QEMM\LOADHI /RF REDIR HOST @STARTNET.CFG
  210.       C:\QEMM\LOADHI /RF SERVER C:\LANTASTI.NET @STARTNET.CFG
  211.  
  212.       After making those changes, save that file.
  213.  
  214.    3. Load STARTNET.BAT first in your AUTOEXEC.BAT file.  Please refer to
  215.       step 3 of the section titled "How do I solve this problem?"
  216.  
  217.    4. In your \QEMM directory, create an OPTIMIZE.EXC file.  In that
  218.       file, add SERVER and REDIR.  That will prevent Optimize from
  219.       trying to load those drivers high, which would undo the changes
  220.       you have already made.  Please refer to Step 4 of the section
  221.       titled "How do I solve this problem?"  After you have created that
  222.       file, reboot your machine.
  223.  
  224.    5. After rebooting, REDIR.EXE and SERVER.EXE should load high.  With
  225.       Manifest, we can verify that they did.  Please refer to step 5 of
  226.       the section titled "How do I solve this problem?"
  227.  
  228. Q. What happens if I need to load another driver?
  229.  
  230. A. When you add additional TSRs to your AUTOEXEC.BAT, try to load them
  231.    after the STARTNET.BAT line.  Before you rerun Optimize, make sure that
  232.    REDIR and SERVER are in the OPTIMIZE.EXC file.  Please refer to Step
  233.    4 of the section titled "How do I solve this problem?"
  234.  
  235.    After running Optimize, it will be necessary to reedit the
  236.    STARTNET.BAT file and add the QEMM LOADHI parameters.  Please refer
  237.    to Step 2 of the section titled "How do I solve this problem?"
  238.  
  239. Q. What should I do if that solution failed?
  240.  
  241.  
  242.  
  243.  
  244. A. If, after following the above suggestions, REDIR.EXE and SERVER.EXE
  245.    are still loading low, there probably wasn't enough High RAM
  246.    available to those drivers high.  Try the following suggestions:
  247.  
  248.    1. Verify that Stealth has been enabled.  At the DOS prompt, type the
  249.       following:
  250.  
  251.       QEMM <Enter>
  252.  
  253.       If a "Stealth Type" is indicated (either "M" or "F"), then Stealth
  254.       is enabled.
  255.  
  256.       If a Stealth type is not indicated, run OPTIMIZE /ST now.
  257.  
  258.    2. REDIR.EXE and SERVER.EXE are modular in design.  You can reduce
  259.       the size of these drivers by disabling features that are not being
  260.       used.  Refer to your LANtastic manual for more information.
  261.  
  262.    3. If you are loading any device drivers or TSRs in your CONFIG.SYS or
  263.       AUTOEXEC.BAT that aren't necessary, remark them out.  For more
  264.       suggestions, refer to Quarterdeck Technical Note #138, "LOADHI:
  265.       Recent Versions" (LOADHI.TEC) and #244, "QEMM-386:  Getting Large
  266.       Contiguous Regions of High RAM" (LARGCONT.TEC).
  267.  
  268.    4. Substituting a driver with an older version might help.  The older
  269.       drivers are usually smaller in size.  For example, if you are using
  270.       Microsoft's version 9.0 mouse driver, which is very large in size,
  271.       you might consider switching back to the previous smaller version.
  272.  
  273.    5. Loading something else low may result in more conventional memory.
  274.       For example, SERVER.EXE might be 64K in size.  If you are loading
  275.       another TSR that is only 25K in size, loading that driver low might
  276.       allow SERVER.EXE to load high.  To load the other TSR low, remove
  277.       the LOADHI statement (i.e, C:\QEMM\LOADHI /R:2) from that driver.
  278.       In this example, the compromise will yield a 25K reduction in
  279.       conventional instead of a 64K reduction.
  280.  
  281.    6. In some cases, using DOS's LH command with DOS=UMB may allow
  282.       REDIR.EXE, SERVER.EXE, and LANCACHE.EXE (the LANtastic disk cache
  283.       utility) to load high more easily.  If the previous suggestions
  284.       didn't help, we suggest trying this.  To do this, follow these
  285.       steps:
  286.  
  287.       To edit the CONFIG.SYS file, type the following:
  288.  
  289.       CD\ <Enter>
  290.       EDIT CONFIG.SYS <Enter>
  291.  
  292.       Add the following line to this file:
  293.  
  294.       DOS=HIGH,UMB
  295.  
  296.       Save that file.  Now edit the STARTNET.BAT by typing the
  297.       following:
  298.  
  299.       CD\LANTASTI <Enter>
  300.  
  301.  
  302.  
  303.       EDIT STARTNET.BAT <Enter>
  304.  
  305.       Add the DOS LH commands to the REDIR.EXE, SERVER.EXE and
  306.       LANCACHE.EXE (if you are using it).  After making the appropriate
  307.       changes, you should have something similar to the following:
  308.  
  309.       LH LANCACHE.EXE
  310.       LH REDIR HOST @STARTNET.CFG
  311.       LH SERVER C:\LANTASTI.NET @STARTNET.CFG
  312.  
  313.       Save those changes and reboot the machine.
  314.  
  315. Q. I have tried all of the suggestions in this document, and those
  316.    drivers still fail to load high.  What should I do now?
  317.  
  318. A. For further assistance with this problem, please contact Quarterdeck
  319.    technical support.
  320.  
  321.    Our technical support department is easily reached via electronic
  322.    channels such as CompuServe (GO QUARTERDECK), Internet (mail
  323.    SUPPORT@QDECK.COM or the comp.os.msdos.desqview Usenet newsgroup), the
  324.    Quarterdeck BBS (310-314-3227), or fax (310-314-3217).  When
  325.    contacting Quarterdeck, be sure to fully explain the symptoms of the
  326.    conflict and the results of the tests performed while following this
  327.    technical note.
  328.  
  329.    You can also call our Technical Support line at 310-392-9701 for
  330.    further assistance.  When you call, please be at the machine that is
  331.    experiencing the conflict.
  332.  
  333.  
  334.   ************************************************************************
  335.   *This technical note may be copied and distributed freely as long as it*
  336.   *is distributed in its entirety and it is not distributed for profit.  *
  337.   *          Copyright (C) 1994 by Quarterdeck Corporation               *
  338.   ************************ E N D   O F   F I L E *************************
  339.  
  340.